System, method and computer program product for sharing information in a distributed framework

ABSTRACT

A system, method and computer program product are provided for receiving information associated with a message, utilizing a first network protocol associated with a first network and causing a determination as to whether a storage resource is available. In use, in the event the storage resource is available, causing storage of the information utilizing the storage resource and sharing the information in less than one second, utilizing at least one message format corresponding to a second network protocol associated with a second network which is different from the first network protocol wherein the system, method and computer program product are associated with an automotive electronic control unit with at least one gateway function that remains in hardwired communication with the first network and the second network, the automotive electronic control unit having a plurality of interfaces.

RELATED APPLICATION(S)

This application is a continuation of U.S. patent application Ser. No. 14/011,705 filed Aug. 27, 2013, which is a continuation of U.S. patent application Ser. No. 13/531,319 filed Jun. 22, 2012, now U.S. Pat. No. 8,566,843, which is a continuation of U.S. patent application Ser. No. 12/182,570 filed Jul. 30, 2008, now U.S. Pat. No. 8,209,705, which is a continuation of U.S. patent application Ser. No. 10/737,690 filed Dec. 15, 2003, now U.S. Pat. No. 7,802,263, which, in turn, claims priority under 35 U.S.C. § 119 based on U.S. Provisional Application No. 60/434,018 filed Dec. 17, 2002, all of which are incorporated herein by reference.

FIELD AND BACKGROUND OF THE INVENTION

The present invention relates to the field of distributed control and monitoring systems that may include certain temporal behavior.

Such technology may optionally apply to electronic vehicle communication and control systems, real-time monitoring systems, industrial automation and control systems, as well as any other desired system.

SUMMARY OF THE INVENTION

A system, method and computer program product are provided for sharing information in a distributed system. After information is received, it is stored on a bulletin board. In use, the information is shared, in real-time, among a plurality of heterogeneous processes.

In one embodiment, both past and present instances of the information may be stored on the bulletin board. As an option, the information may be replicated among a plurality of the bulletin boards. Optionally, first information may be processed utilizing a first bulletin board and stored utilizing a second bulletin board. Still yet, the bulletin boards may be hierarchical.

In another embodiment, the processes may access multiple sections of the bulletin board. Further, the bulletin board may send notifications to the processes based on a state of the information on the bulletin board.

Optionally, the information may include variables. For example, the information may include input variables, output variables, etc. Moreover, the processes may include local processes, remote processes, etc. Still yet, the processes may include event triggered processes and/or time triggered processes. In use, each of the processes may process the information in a manner that is isolated from temporal characteristics associated with the network.

In still another embodiment, the information may be extracted from a message received by a bulletin board manager. Moreover, the information may be converted from a signal received by a bulletin board manager. Even still, the information may be shared in a single task, may be shared according to a schedule, and/or may be shared with an operating system. Optionally, dynamic preemptive scheduling may be provided. Also, the information may be shared across the communication network with only a portion of a message header that is needed for a specific communication link while other communication links may use a different message header.

As a further option, resources in the network may be protected. Specifically, the resources in the network may be protected utilizing a schedule that allows information sharing utilizing the bulletin board. In another embodiment, the resources in the network may be protected utilizing semaphores.

In even still another embodiment, the information may be shared according to an internal clock, an external clock, etc. During operation, objects may be generated based on a change of state of the information stored in the bulletin board. Such objects may include, but are not limited to flags, events, signals, interrupts, etc. Still yet, the information may be stored in response to interrupts associated with the processes.

In use, the bulletin board may update the processes with information at a first rate that differs from a second rate with which the processes send the information to the bulletin board. Optionally, the bulletin board may be accessed with guaranteed access times, jitter, and bandwidth.

In addition, the bulletin board may be updated irregularly and triggered by internal or external objects including, but not limited to flags, events, signals, interrupts, etc. Event triggers may be provided independent of a link connection between nodes where the processes are carried out. Moreover, failure redundancy may be provided through multiple independent links across diverse physical connections.

As yet another option, the information may have a user-configured constraint associated therewith. Such constraint may include a memory constraint, a real-time constraint, etc. As a further option, the constraint may be configured utilizing a tool.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an embodiment of a system of one embodiment;

FIG. 2 is a block diagram generally depicting an embodiment of an ECU as part of the system illustrated in FIG. 1;

FIG. 3 is a block diagram generally depicting an embodiment of a Gateway device as part of the system illustrated in FIG. 1;

FIG. 4 is a block diagram of an embodiment of the software architecture assumed for one embodiment.

FIG. 5 is a block diagram of an embodiment of the middleware that contains the methods of one embodiment.

FIG. 6 is a block diagram of an embodiment of the bulletin board that describes the process interaction of one embodiment.

FIG. 7 is a block diagram of an embodiment of the bulletin board that describes the process interaction with multiple external communication buses as part of one embodiment.

FIG. 8 is a flow chart diagram of an embodiment of the variable store from remote I/O method of one embodiment.

FIG. 9 is a flow chart diagram of an embodiment of the variable store from local I/O method of one embodiment.

FIG. 10 is a flow chart diagram of an embodiment of the variable method of one embodiment.

FIG. 11 is a flow chart diagram of an embodiment of the variable retrieve method of one embodiment.

FIG. 12 is a flow chart diagram of an embodiment of the application process using the method of one embodiment

FIG. 13 is a flow chart diagram of an embodiment of the local I/O update from bulletin board method of one embodiment.

FIG. 14 is a flow chart diagram of an embodiment of the variable replication method of one embodiment.

FIG. 15 is a flow chart diagram of an embodiment of the message store from remote gateway method of one embodiment.

FIG. 16 is a flow chart diagram of an embodiment of the message forward to remote ECU or Gateway method of one embodiment.

FIG. 17 is a state transition diagram of an embodiment of the mode switching method of one embodiment.

DETAILED DESCRIPTION

FIG. 1 is a block diagram generally depicting elements of an embodiment of the present distributed embedded communication and computing system. The system architecture may be situated in automotive electronics or industrial control and monitoring systems. In an automotive environment, the various Electronic Control Units (ECUs, 102) control complex applications such as engine control, brake control, or diagnostics. They are either connected to sensors and actuators via discrete links or simple standard functions such as sensors and actuators are organized into separate sub networks.

These complex functions such as braking, engine-control, etc. are then grouped into the backbone system functions for the car, such as body control, power train and chassis. The backbone also includes the vehicle's high level functions such as diagnostics, telematics and entertainment systems.

Therefore the system is typically hierarchically organized and includes a variety of gateways (101,104,105), which relay messages up and down through the system layers. Each layer may contain multiple electronic control units (ECU, 102) that are connected through wired serial multiplexing bus-systems such as Controller Area Network (CAN or ISO11898), Flexray, LIN, J1850, J1708, MOST, IEEE1394, and other similar serial multiplexing buses or through wireless multiplexing systems such as IEEE802.11, IEEE802.15, Bluetooth, Zigbee, or similar other wireless links.

Typically, functions provided by an ECU (102) are bound to hard real-time temporal behavior. In the context of the present description, real-time may include any response time that may be measured in milli- or microseconds, and/or is less than 1 second.

The ECU may receive a set of real-time input variables from local sensors (108), which are connected via discrete signal lines (113), or from networked sensors (106), which are connected through a multiplexing bus-system (112). The ECU may also share variables with other ECUs (102) that are either connected on the same physical multiplexing bus or that it can reach through a gateway (101,103,104).

Then the ECU (102) processes the input variables and generates a set of output variables that are either shared with other ECUs (102) as described above, or which are output to local actuators (109), which are connected via discrete signal lines (113), or to networked actuators, which are connected through a multiplexing bus (112). ECUs (102) typically share information with devices that are connected on the same physical multiplexing system. This method of information sharing is called horizontal information sharing in a hierarchical system. Gateways (101,103,104) link multiple physical multiplexing systems together. In the context of the present description, such information may include data, a signal, and/or anything else capable of being stored and shared.

The highest level in the hierarchical system is the system level. The system level gateway (101) may be connected to ECUs on the system level multiplexing bus (117), to subsequent gateways (103) that also link to subsequent communication buses (110), and to external components (120) that may contain diagnostics devices (121), development tools (122), other add-on devices (123) or other instances of distributed embedded communication and computing systems (100). In addition, the system gateway (101) may also be connected to an external gateway (131) that may link the system to a remote device (132) through wireless or wired wide-area-networks such as the Internet, using standard protocols such as UDP/IP, TCP/IP, RTP, HTTP, SOAP, JAVA, etc. or nonstandard proprietary protocols.

Subsequent to the system level may be several layers of groups and subgroups that are link to the higher levels via gateways (101,103,104,105).

During the design-time of the system, not all ECUs may exist. Therefore, the development tool (122) may provide a plug-in component or virtual ECU/GW (115) that directly links into the wired multiplexing bus or wireless network (110) and also allows for separate control functions via a tool-link (116).

The block diagram in FIG. 2 depicts the detailed elements within a generic ECU (200) that is one embodiment of ECU (102). The ECU (200) typically contains a micro-processor (201), volatile memory (204) such as RAM, S-RAM or similar, non-volatile memory (203) such as EEPROM, FLASH, etc., a real time clock for internal timing of processes (205), a watchdog (206) to maintain the health of the system, one or more communication bus controllers (207) with associated drivers (208), digital I/O (209) with line drivers (210), and analog I/O (211) with associated analog signal conditioning (212).

In an alternate embodiment, the ECU (200) may also contain a wireless communication controller (311) and a RF-Front-end (312) as outlined in FIG. 3. The software (202) can either be stored in local non-volatile memory (203) or partially downloaded via the communication link (207,208) and stored in the volatile memory. The software is then executed in the microprocessor (201).

The block diagram FIG. 3 depicts the detailed elements within a generic gateway (300) that is one embodiment of Gateway (101,103,104,105) in FIG. 1.

FIG. 4 outlines one embodiment of the software architecture in an embedded system. The hardware abstraction layer (405) allows the system developer to adapt a standard operating system to a specific hardware as used in an ECU (200) or gateway (300). The hardware abstraction layer (405) adapts the real-time operating system (403) and the device drivers (404) to a specific hardware implementation.

One embodiment includes the middleware (402) that has direct access to the real-time operating system (403), the device drivers (404) and the hardware abstraction layer (405). The middleware isolates the application from input/output functions and allows multiple applications to share common variables locally. In addition, the middleware lets applications share variables with remote applications/processes. In the context of the present description, a process may refer to any hardware and/or software operation, etc.

In one embodiment, the middleware can directly interface with the input/output mechanisms of the hardware without utilizing an operating system (403) or hardware abstraction layer (405).

Another embodiment of the middleware utilizes a preemptive multitasking operating system with explicit control of resources. In an alternate embodiment, the middleware can be built with a static multitasking scheme with implicit resource management or be part of a single task system.

Referring now to FIG. 5, the middleware (402) contains the bulletin board manager (501), a local signal communication interface (503), a remote message communication interface (504), and an application programming interface (502). The application interface (502) provides methods and data interfaces to a plurality of applications. In one embodiment, the application interface is an object library that can be linked to an application at design time.

The bulletin board manager (501) contains an upgrade and configuration manager (507), an event manager (505), a data access manager (508), and a data integrity watchdog (506). The upgrade and configuration manager (507) is necessary to configure the data structure of the bulletin board and to make executable code available to individual processing nodes. In the context of the present description, the bulletin board may refer to any database that enables users to send and/or read electronic messages, files, and/or other data that are of general interest and/or addressed to no particular person/process.

The access manager provides access control mechanisms for the code update and configuration mode. It also may control access rights for individual applications at execution time in the run mode.

The event manager (505) captures input-output events as variables and generates new events, flags, or signals based on operations on state variables in the bulletin board. Such operations may include test of maximum values, the occurrence of logically combined events, the result of an integrity check, or events and signals that are created based on any other logical or arithmetic computation on the state variables that are stored in the bulletin board. The actual processing of data and manipulation of data may be done in the application that uses the middleware (402). The data integrity watchdog analyses the stored state variables for its integrity and generates events or flags if any problem occurs.

The local signal communication interface (503) interfaces with the local discrete input/output hardware to update the bulletin board with new variables and to update the input/output interfaces with the state variables from the bulletin board. It also converts state variables to input/output signals and input/output signals to state variables that can be stored in the bulletin board. The conversion process may contain scaling of signals as well as offset compensation. Typically this processing helps to convert I/O signals that are measured in Volt to a physical entity and vice versa. The communication with the local discrete input output system can be triggered by events or signals can be sampled time-triggered based on a cyclic global or local time base.

The remote message communication interface (504) interfaces to serial multiplexing interfaces (buses) that are connected to the specific processing node (ECU or Gateway). It extracts variables from a plurality of messaging protocols and stores them in the database. It also replicates local bulletin-board state variables to the associated processing nodes by composing the appropriate messages for each communication link. The message transfer can be initiated triggered by a bus event, by a local event, or by a time-triggered mechanism that uses a cyclic local or global time base.

FIG. 6 shows the concept of an extended bulletin board or an embedded real-time database (601). In this embodiment the ECU (102) or the Gateway (101) hosts one or multiple bulletin boards with relational links between the variables in the bulletin boards. The relations are defined by data processing functions that the gateway can operate on bulletin boards to obtain new information that can be stored in yet another bulletin board.

The bulletin board (601) may contain but is not limited to events (607), real-time variables (608), diagnostics data (609), configuration parameters (610), and firmware (611) to upgrade individual components of the executable code or the entire software of a processing node. Each type of information may include one or more sections so that individual processes are not blocked if they access separate sections of data.

The memory of the bulletin board is subdivided into areas that nodes on each external network can read from and write into and other areas that an external network may only read from. The data contained in the bulletin board may be stored in volatile or non-volatile memory. Each data entry may consist of one value or an array of values that also may represent a time series.

In one embodiment, each application process (603), local signal communication process (605), remote message communication process, and the bulletin manager (602) can individually access the bulletin board using operating system functions for resource management that may include semaphores, events, signals, call-back routines, flags, etc. in an alternate embodiment of the system the bulletin-board manager controls all interaction with the bulletin-board and all applications have to pass data to the bulletin-board manager. This approach simplifies the interaction with the bulletin board, but adds delay time and jitter to the state variables.

At design time, various hierarchies of memory management can be applied. In practice it is more efficient to allow each sub network and subsystem to place system variable data into local bulletin boards. This is because many system variables are primarily used only within their subsystem or sub network. By placing local information in a shared memory (local bulletin board), it can be used by multiple processes on this processor node. A group bulletin board allows devices on a sub-network to share information with a minimum of network traffic. A system bulletin board allows access to system-wide variables and information.

FIG. 7 illustrates the logical architecture of the interconnection between three heterogeneous network controllers (702, 703, 704), the associate Operating System interfaces (705), the remote message communication process (706), the bulletin board (608), and the application process (606). The connection to each communication controller is fundamentally implemented at the physical interface (the wire, fiber or electromagnetic wireless interface). Each of the higher level layers (data link, network, etc) in the communication interface (705) deals with specific features of the individual communication process. In practice these layers are typically represented in a message by “header” bits that contain information about that layer of the network being used to send the message.

Using this model, each communicated message may be processed at each layer to remove (and use) the associated header information for that level. Once all layers are processed the remaining packet data unit (PDU) represents the datum or core information carried by the overall message. In one embodiment, each communication controller has an associated communication interface and an associated remote message conversion mechanism. For instance communication bus controller 2 (703) has an associated communication interface 2 (709), and an associated remote message conversion 2 (710).

This arrangement allows the remote message process (706) to directly access information at the data link layer and interface it with the bulletin board. A network layer is not necessary. The remote message communication process (706) has a multi-network access interface (essentially a processing capability that can interpret and apply the header information for a variety of networks) and the bulletin board read/write memory access. Now, the individual processing nodes do not need to know about the existence of multiple networks. Each variable can be accessed from all connected physical networks in their proprietary format. Thus the normalization of the information has only to be handled at the gateway through replication of stored data to multiple attached networks.

Continuing with FIG. 7, the communication procedure is described. In the given example, an external event (701) on communication controller 2 (703) triggers the operating system to notify the remote message communication process (706) that data is available. The notification may be a flag, a call-back routine, an event, or any other operating signal. The associated remote message conversion method 2 (710) extracts the data (e.g. real time variables) from the message PDU and stores the data in the bulletin board (608). It may also store the associated event as variable in the bulletin board and signal the bulletin-board event manager that new data is available.

The bulletin event manager then notifies the application process (606) with the appropriate mechanism. In addition, the event manager may trigger the sampling of local signals using the local signal communication process (605) described in FIG. 6. Finally the bulletin event manager may trigger the bulletin board manager (707) to perform integrity checks or generate additional events based on the change of the state variables.

One embodiment provides a new mechanism for creating an information interconnection between two or more heterogeneous communication networks. In the context of the present description, heterogeneous networks may refer to any different communication networks with at least one aspect that is different.

The approach uses a common, or shared storage system that is connected to all of the system networks through network interfaces. A critically important feature of the bulletin board approach is that the complexity of the bulletin board grows linearly with the number of networks (as opposed to as N(N−1) for the gateway approach), and in one-to-many situations the number of message transformations is half that of the standard networking approach.

In an alternate embodiment of the remote message communication process (706) any remote process can access data via a single network interface. This approach requires a network layer in each processing node and therefore adds overhead to communications. To communicate between two heterogeneous networks, this process may then be repeated in reverse by adding back the header information for the various layers of the second network, and eventually putting the message onto the second network's physical link. The remote message communication manager (706) then can be simplified to only one message assembly and disassembly mechanism.

FIGS. 8-17 illustrate the method of operation of one embodiment of the present system, and also refer to aspects and elements one embodiment shown in FIGS. 1 through 7.

FIG. 8 details the remote messaging process (706) described in FIG. 7. Referring now to FIG. 8, the core process of storing data from remote processes that are communicated through multiplexed communication links, into the bulletin board is described. An external notification or task activation starts the process. Then a message (802) is received from the operating system layer.

In an alternate embodiment, the message is directly copied form the input register of the communication controller. Then the process extracts variables from the message. Additional signal adaptation may be necessary. The sub-process 804 stores the variables in the bulletin board. If the process only updates one section of the bulletin board it waits for the next message notification (806). If variables in multiple sections need to be updated, the process repeats (804).

FIG. 9 shows the data update from local input/output peripherals. The process starts with an internal or external notification or task activation. Typically this process is repeated cyclic triggered by an internal or external real-time clock. When the process is activated, it samples or polls the local input ports that may include analog and digital signals (902). Then it converts these signals to real-time variables by using the conversion parameters stored in the bulletin board. The signal conditioning parameters van either be defined at design time or adaptively updated by the application process. Then the process stored the new state variables in the bulletin board using the sub-process (804) described above.

FIG. 10 describes the bulletin board store procedure (804) in more detail. Before new data can be stored in the bulletin board, the procedure has to request the access right to the common resource, a section of the non-volatile or volatile memory, from the operating system (1001). This is called explicit resource management.

If the resource is available, the process gets the resource. If the resource is not available, it may try it again after a waiting period (1011) until the resource is available. After a certain time has elapsed (1009) beyond a configurable threshold, the temporal behavior of the state variable can't be captured any longer and the middle-ware may send an error notification to the associated process.

After reserving the resource (1003), the bulletin board store mechanism (804) timestamps the state variable for future temporal reference (1004). Then, the bulletin board store procedure (804) copies the variables or parameters from its private memory (1006) to the shared bulletin-board memory (601). Then it releases the bulletin board resource.

In an alternate embodiment, the bulletin board store procedure (804) has exclusive access to the bulletin board (601) and does not need operations 1002, 1003, 1007, 1009, 1010, and 1011 because the resource access is realized through implicit resource management. This can be achieved with either static task scheduling or by allowing only the bulletin board store procedure (804) to access the bulletin board (601).

FIG. 11 describes the bulletin board retrieve procedure (1101) in more detail. Before data can be retrieved from the bulletin board, the procedure has to request the access right to the common resource, a section of the non-volatile or volatile memory, from the operating system (1102).

If the resource is available, the process gets the resource. If the resource is not available, it may try it again after a waiting period (1108) until the resource is available. After a certain time has elapsed (1109) beyond a configurable threshold, the temporal behavior of the state variable can't be captured any longer and the middle-ware may send an error notification to the associated process (1110).

After reserving the resource (1104), the bulletin board retrieve mechanism (1101) copies the variables or parameters from the shared bulletin-board memory (601) to its private memory (1006). Then, it releases the bulletin board resource. In an alternate embodiment the bulletin board retrieve procedure (1101) has exclusive access to the bulletin board (601) and does not need operations 1103, 1104, 1106, 1108, 1109, and 1110. Because the resource access is realized through implicit resource management, this can be achieved with either static task scheduling or by allowing only the bulletin board retrieve procedure (1101) to access the bulletin board (601).

Referring to FIG. 12, the application process (1200) utilizes the bulletin board retrieve mechanism (1101) to access all parameters, events, and real-time variables from the bulletin board. Thus the application process is decoupled from the temporal behavior of the input/output variables and can be triggered by a plurality of events (1201).

The application process may retrieve one or multiple sets of variables stored in a plurality of memory sections. Then the application process processes the variables (1203) with its method. Because the method is not tied to the location of the input/output variables, the application process can be moved or replicated to a plurality of processing nodes (ECUs or Gateways). After processing the input variables and generating a set of output variables, the application process uses the bulletin board store method (801) to update one or a plurality of memory sections in the bulletin board. If the application process is a cyclic procedure, it waits until the next activation occurs (1205).

Continuing with FIG. 13, the update local I/O from bulletin board process (1300) utilizes the bulletin board retrieve mechanism (1101) to access real-time variables from the bulletin board and convert them to output signals (1302) that can be written to the output port (1303). The I/O update process may retrieve one or multiple sets of variables stored in a plurality of memory sections. If the I/O update process is a cyclic procedure, it waits until the next activation occurs (1305).

FIG. 14 describes the data replication process (1400). This process can be triggered by a plurality of notification mechanisms, such as events, alarm signals, internal and external timers, and flags set in the bulletin board. It then selects a subset of variables to be replicated and a communication port (1402). Next it retrieves the variables from the bulletin board with mechanism (1401) and assembles the messages for the specific communication link (1403). The message may include an address or identification number for all bulletin boards and associated processing nodes (ECUs and Gateways).

Finally, it writes the messages to the communication port (1404). In an alternate embodiment, it handles the messages to the associated interface procedure of the operating system. Then it repeats the procedure, until all variables are updated on all communication ports. If the data replication process is a cyclic procedure, it waits until the next activation occurs (1405).

Referring now to FIG. 15, the store message from remote processing node (gateway or ECU) process (1500) describes how replicated data is stored in the bulletin board. This process can be triggered by a plurality of notification mechanisms, such as internal or remote events, alarm signals, internal and external timers, and flags set in the bulletin board. The communication bus may also issue these notifications. The process (1500) then reads a message from the communication port (1502), selects a subset of variables to be replicated (1503), and stores the variables in the bulletin board with procedure (801). In an alternate embodiment, this procedure may also be used to store a packet data unit (PDU) in the bulletin board for later replication on the same or a different communication link.

This store and forward networking mechanism can be implemented without the need for complex networking protocols and is therefore well suited for limited processing power and memory environments. It also works in soft-real time environments when no strict temporal behavior is required. The data store operation (801) may be repeated for a plurality of bulletin board sections. If the data replication process is a cyclic procedure, it waits until the next activation occurs (1505).

Continuing now with FIG. 16, the store and forward updating mechanism (1600) replicates messages from remote processing nodes to other processing nodes from stored packet data units in the bulletin board. This process can be triggered by a plurality of notification mechanisms (1601), such as internal or remote events, alarm signals, internal and external timers, and flags set in the bulletin board. The communication bus may also issue these notifications.

The process (1600) then selects a message to be forwarded (1602) and the appropriate communication link and retrieves the PDU with the bulletin board retrieve mechanism (1101). It then adds the appropriate messages header for the communication link (1603) and may add routing information (1604). Finally the update process (1600) writes the messages to the communication port (1605). If the updating process is a cyclic procedure, it waits until the next activation occurs (1607).

FIG. 17 describes the various modes that the distributed communications and computing system (100) can be operated in. In one embodiment, the system operates in various distinct modes in order to preserve the integrity of the system and still allow for changing the architecture and behavior of the network or the roles of the individual nodes. When the distributed computing and communication system wakes up from the sleep mode (1701), it can enter a configuration and upgrade mode (1702), an emergency or debug mode (1704), or the normal real-time run mode (1703). The root node or system gateway in a distributed communication and computing system defines the mode based on the existence of external events, such as an external control command, internal events, a system failure, or failed integrity check.

Referring now to FIG. 1, the external commands may be generated from a development tool (122) or a remote device (132) that is connected via a remote gateway (131). In an alternate embodiment, each ECU (102) or virtual ECU (115) can trigger the system to enter a different operating mode.

Continuing with FIG. 17, in the configuration mode (1702), the system software and the information-sharing configuration can be updated via a secure communication link with encrypted commands Each processing node (ECU or gateway) may have security mechanisms such as a certificate that allows it to identify and authorize another entity (remote gateway, remote ECU, or development tool) to make changes to its bulletin board parameters.

The remote entity may also download a new firmware to the bulletin board. The ECU or gateway can store this new firmware in its non-volatile memory while it backs up the original image on the bulletin board for the case that the new software is not functional. In the update mode, the distributed system can also reconfigure the communication and computing infrastructure based on a new set of parameters that need to be stored in the individual bulletin boards.

In the normal run mode (1703), the system operates in the real-time information sharing mode and network configuration and certain parameters can't be changed. That protection allows defining deterministic temporal behavior on all communication links. But any processing node may enter a debug/emergency mode (1704) if a failure or other qualifying event occurs.

In the emergency mode, a processor executes an alternate procedure that maintains the temporal behavior on the communication links but may reduce or increase the amount of information shared with other processors. It also lets other processing nodes check on the integrity of sensors and actuators. In the maintenance and upgrade mode, an external system can upgrade executable code images and the bulletin-board configuration via secure communication links.

A system and method are thus provided for sharing information within a distributed embedded communications and computing system and with components outside the embedded system. The information sharing mechanism relies on a bulletin board that may include a small database operating under hard real-time conditions with minimal delays, communication latency, and jitter. The embedded database or bulletin board isolates a real-time application in a Electronic Control Unit (ECU) from various other real time applications and from input output signals in the same module (local information sharing), from event-triggered communications with applications in other modules, and from time-triggered communications with applications in other modules.

One design criteria of the database is that the temporal behavior of communications does not impact the real-time computing task and provides enough information access performance at peak time demand Typically, distributed embedded systems consist of a static structure that can be analyzed at design time. In addition to the real-time operation, the proposed method for information sharing also provides access to the parameters of the embedded system and allows for software upgrades of certain modules.

The present embodiment addresses the shortcomings of traditional computer networks with following enhancements:

1) The concept of multi-mode storage that links two or more communication networks via a bulletin board. The bulletin board is a multi-mode storage that can be thought of an extension to shared memory that can be accessed by local and remote processes at attached networks. There may be multiple hierarchical layers of bulletin boards depending on the topology of the communication system. The bulletin board increases the network efficiency by reducing the number of transactions needed to access remote variables. 2) The concept of a direct-access bulletin board that does not require a network layer translation of messages on each node of the network. Even though this approach restricts the reach of each node to only adjacent nodes and the next gateway, this still allows cross-network variable sharing though vertical real-time replication of data. 3) The concept of hierarchical bulletin board management that allows restriction of information access to certain levels in a network, but still allows the replication of information to other nodes in the network. This paradigm follows the path of reducing the information amount from the leaves of the network to central control and diagnosis hubs. 4) The concept that a gateway can host an assembly of bulletin boards or embedded database that allows operations on bulletin boards to generate events for associated processes. This extension allows definition of a set of data processing operations that would be done once in a network and would be instantly available for connected nodes. Examples for operations are sensor data state observers, diagnostics, integrity checks, fail-safe mechanisms, etc. 5) The concept that an embedded communication and computing network can run in multiple modes in order to provide for a guaranteed deterministic behavior of the system. This property can be achieved by only allowing change to the configuration and/or the functions (SW code) in a secured configuration and upgrade mode. If the network is booted in the normal operating mode, all processors execute the existing code and only allow data sharing through the bulletin boards. The emergency or debug mode lets the network run in a fail-safe reduced operation mode or in a diagnostic mode that allows inspection of the system, while it is running. For each operating mode, the gateway can store a processing image on the bulletin board. The advantage of this procedure is that only the communication hubs need to deal with secure data transfer and encryption while the peripheral nodes in the network can be relative simple in design. 6) The concept of designing the topology of a distributed computing and communication system independent of the definition of the individual functions that the network performs. Each processing task is only associated with a bulletin board, but isolated from I/O processing.

Of course, these are all optional embodiments/enhancements.

While various embodiments have been described above, it should be understood that they have been presented by the way of example only, and not limitation. Thus, the breadth and scope of a preferred embodiment should be not limited by any of the above described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents. 

What is claimed is:
 1. An apparatus, comprising: an automotive electronic control unit including a non-transitory memory storage comprising instructions, and at least one hardware processor in hardwired communication with the memory storage, wherein the at least one hardware processor executes the instructions to: identify information associated with a message received utilizing a Flexray network protocol associated with a Flexray network; issue a storage resource request in connection with a storage resource of the automotive electronic control unit and determine whether the storage resource is available for storing the information; determine whether a threshold has been reached in association with the storage resource request; in the event the storage resource is not available and the threshold associated with the storage resource request has not been reached, issue another storage resource request in connection with the storage resource; in the event the storage resource is not available and the threshold associated with the storage resource request has been reached, send a notification; in the event the storage resource is available, store the information utilizing the storage resource; and share the information in less than one millisecond utilizing a Controller Area Network protocol associated with a Controller Area Network, the automotive electronic control unit remaining in hardwired communication with the Flexray network and the Controller Area Network, and including: a first interface for interfacing with the Flexray network, the first interface including a first interface-related data link layer component that uses Flexray network-related data link layer header bits and a first interface-related network layer component that uses Flexray network-related network layer header bits; and a second interface for interfacing with the Controller Area Network, the second interface including a second interface-related data link layer component that uses Controller Area Network-related data link layer header bits and a second interface-related network layer component that uses Controller Area Network-related network layer header bits.
 2. The apparatus as recited in claim 1, wherein the information is also shared in less than the one millisecond utilizing, in addition to the Controller Area Network protocol, a Local Interconnect Network protocol associated with a Local Interconnect Network, and the automotive electronic control unit remains in hardwired communication with the Local Interconnect Network via a third interface for interfacing with the Local Interconnect Network, the third interface including a third interface-related data link layer component that uses Local Interconnect Network-related data link layer header bits.
 3. The apparatus as recited in claim 1, wherein the identifying, the issuing the another storage resource request, and the sending the notification collectively occur in less than one microsecond.
 4. The apparatus as recited in claim 1, wherein the identifying, the issuing of the storage resource request, the storing the information, and an initiation of the sharing collectively occur in less than one microsecond.
 5. The apparatus as recited in claim 4, wherein the second interface-related network layer component uses the Controller Area Network-related network layer header bits by adding the Controller Area Network-related network layer header bits to a data unit including the information, and then the second interface-related data link layer component uses the Controller Area Network-related data link layer header bits by adding the Controller Area Network-related data link layer header bits to the data unit, before communicating the data unit on a physical link of the Controller Area Network.
 6. The apparatus as recited in claim 5, wherein the first interface-related data link layer component uses the Flexray network-related data link layer header bits by removing the Flexray network-related data link layer header bits from another data unit, and the first interface-related network layer component uses the Flexray network-related network layer header bits by removing the Flexray network-related network layer header bits from the another data unit, where the information is extracted from the another data unit before the sharing.
 7. The apparatus as recited in claim 1, wherein a duration between the information being sent to the automotive electronic control unit and the sharing being completed by the information arriving at a destination, is less than the one millisecond.
 8. The apparatus as recited in claim 1, wherein a duration between the information being received at the automotive electronic control unit, and the sharing being completed by arriving at a destination, is less than the one millisecond.
 9. The apparatus as recited in claim 1, wherein the storage resource request and the another storage resource request each includes a request for an access.
 10. The apparatus as recited in claim 1, wherein the storage resource is configured to store the information that is received utilizing the Flexray network that is a physical network, for the purpose of sharing the information utilizing the Controller Area Network that is another physical network.
 11. The apparatus as recited in claim 1, wherein the hardware processor and the instructions are for releasing the storage resource after the storing.
 12. The apparatus as recited in claim 1, wherein the apparatus is configured such that the information is replicated among a plurality of the storage resources.
 13. The apparatus as recited in claim 1, wherein the apparatus is configured such that both past and present instances of the information are stored on the storage resource.
 14. The apparatus as recited in claim 1, wherein a plurality of the storage resources are included which are organized in a hierarchical manner.
 15. The apparatus as recited in claim 1, wherein the apparatus is configured such that different processes are capable of accessing multiple sections of the storage resource.
 16. The apparatus as recited in claim 15, wherein the different processes include local processes.
 17. The apparatus as recited in claim 15, wherein the different processes include remote processes.
 18. The apparatus as recited in claim 15, wherein the different processes include both event triggered processes and time triggered processes.
 19. The apparatus as recited in claim 1, wherein the apparatus is configured such that a storage resource manager sends notifications to different processes based on a state of the information stored utilizing the storage resource.
 20. The apparatus as recited in claim 1, wherein the apparatus is configured such that the information is shared without multiplexing.
 21. The apparatus as recited in claim 1, wherein the apparatus is configured such that at least one of a plurality of different processes process the information in a manner that is isolated from temporal characteristics associated with at least one of the Controller Area Network or the Flexray Network.
 22. The apparatus as recited in claim 1, wherein the apparatus is configured such that the information is shared in a single task.
 23. The apparatus as recited in claim 1, wherein the apparatus is configured such that the information is shared according to a schedule.
 24. The apparatus as recited in claim 1, wherein the apparatus is configured such that the information is shared with an operating system.
 25. The apparatus as recited in claim 1, wherein the apparatus is configured such that dynamic preemptive scheduling is provided.
 26. The apparatus as recited in claim 1, wherein the apparatus is configured such that the storage resource is protected utilizing a schedule that allows information sharing utilizing the storage resource.
 27. The apparatus as recited in claim 1, wherein the apparatus is configured such that the storage resource is protected utilizing semaphores.
 28. The apparatus as recited in claim 1, wherein the apparatus is configured such that the information is shared according to an internal clock.
 29. The apparatus as recited in claim 1, wherein the apparatus is configured such that the information is shared according to an external clock.
 30. The apparatus as recited in claim 1, wherein the apparatus is configured such that objects are generated based on a change of state of the information stored utilizing the storage resource.
 31. The apparatus as recited in claim 30, wherein the objects include at least one of flags, events, signals, or interrupts.
 32. The apparatus as recited in claim 1, wherein the apparatus is configured such that the information is stored in response to interrupts associated with different processes.
 33. The apparatus as recited in claim 1, wherein the storage resource is replicated through a distributed system.
 34. The apparatus as recited in claim 1, wherein the apparatus is configured such that the information is shared by the automotive electronic control unit with only a portion of a network communication protocol header.
 35. The apparatus as recited in claim 1, wherein the apparatus is configured such that the storage resource updates at least one process with the information at a first rate that differs from a second rate with which at least one other process sends the information to the storage resource.
 36. The apparatus as recited in claim 1, wherein the apparatus is configured such that event triggers are provided independent of a link connection between nodes where different processes are performed.
 37. The apparatus as recited in claim 1, wherein the apparatus is configured such that failure redundancy is provided across multiple independent links across diverse physical connections.
 38. The apparatus as recited in claim 1, wherein the apparatus is configured such that the storage resource is accessed with guaranteed access times.
 39. The apparatus as recited in claim 1, wherein the apparatus is configured such that the storage resource is accessed with guaranteed jitter.
 40. The apparatus as recited in claim 1, wherein the apparatus is configured such that the storage resource is accessed with guaranteed bandwidth.
 41. The apparatus as recited in claim 1, wherein the information has a user-configured constraint associated therewith.
 42. The apparatus as recited in claim 41, wherein the constraint includes a memory constraint.
 43. The apparatus as recited in claim 1, wherein the apparatus is configured such that the information is processed utilizing a first storage resource and stored utilizing a second storage resource.
 44. The apparatus as recited in claim 1, wherein the apparatus is configured such that instances of the information are time-stamped when stored utilizing the storage resource for temporal reference.
 45. The apparatus as recited in claim 1, wherein the apparatus is configured such that the storage resource updates different processes based on an event.
 46. The apparatus as recited in claim 1, wherein the apparatus is part of an embedded system.
 47. The apparatus as recited in claim 1, wherein the instructions include code.
 48. The apparatus as recited in claim 1, wherein the apparatus includes middleware.
 49. The apparatus as recited in claim 1, wherein the automotive electronic control unit includes a gateway for multicasting the information to the Flexray Network in addition to at least one other different network.
 50. The apparatus as recited in claim 1, wherein the automotive electronic control unit includes a gateway for concurrently sending the information to the Flexray Network in addition to at least one other network.
 51. The apparatus as recited in claim 1, wherein the storage resource includes a multi-mode storage.
 52. The apparatus as recited in claim 1, wherein the storage resource includes a section of the memory storage.
 53. The apparatus as recited in claim 1, wherein the storage resource is a component of firmware.
 54. The apparatus as recited in claim 1, wherein the automotive electronic control unit includes a gateway.
 55. The apparatus as recited in claim 1, wherein the automotive electronic control unit includes a gateway for sending the information to the Flexray Network in addition to at least one other network.
 56. The apparatus as recited in claim 1, wherein the automotive electronic control unit includes a gateway for sending the information to multiple Flexray Networks.
 57. The apparatus as recited in claim 1, wherein the storage resource includes non-volatile memory and volatile memory.
 58. The apparatus as recited in claim 1, wherein the storage resource stores a data entry.
 59. The apparatus as recited in claim 58, wherein the data entry includes an array of values.
 60. The apparatus as recited in claim 58, wherein the data entry includes an array of values that represents a time series.
 61. The apparatus as recited in claim 1, wherein at least one of the determinations is carried out as part of explicit resource management.
 62. The apparatus as recited in claim 1, wherein at least one of the determinations is carried out as part of implicit resource management.
 63. The apparatus as recited in claim 1, wherein the storage resource includes at least two different types of memory.
 64. The apparatus as recited in claim 1, wherein at least one aspect of the storage resource grows linearly with a number of heterogeneous networks to which the apparatus is coupled.
 65. The apparatus as recited in claim 1, wherein the information is associated with at least one of engine control or brake control.
 66. The apparatus as recited in claim 1, wherein the information is associated with diagnostics.
 67. The apparatus as recited in claim 1, wherein the apparatus is part of a system including a plurality of the automotive electronic control units which are each capable of interfacing at least one of an actuator or a sensor.
 68. The apparatus as recited in claim 67, wherein the apparatus further includes at least one gateway capable of interfacing the plurality of electronic control units.
 69. The apparatus as recited in claim 68, wherein the gateway includes a group gateway.
 70. The apparatus as recited in claim 68, wherein the gateway includes a subgroup gateway.
 71. The apparatus as recited in claim 1, wherein the automotive electronic control unit is a virtual automotive electronic control unit.
 72. The apparatus as recited in claim 1, wherein the apparatus is part of a system that is capable of interfacing a diagnostic tool and a design tool.
 73. The apparatus as recited in claim 1, wherein the apparatus is part of a system including a plurality of layers including an application layer, a middleware layer, a real-time operating system layer, a device driver layer, and a hardware abstraction layer.
 74. The apparatus as recited in claim 1, wherein the apparatus is part of a system including a plurality of layers including at least two of an application layer, a middleware layer, a real-time operating apparatus layer, a device driver layer, and a hardware abstraction layer.
 75. The apparatus as recited in claim 1, wherein the apparatus is part of a system including a plurality of layers including at least three of an application layer, a middleware layer, a real-time operating system layer, a device driver layer, and a hardware abstraction layer.
 76. The apparatus as recited in claim 1, wherein the apparatus is part of a system including a plurality of layers including at least four of an application layer, a middleware layer, a real-time operating system layer, a device driver layer, and a hardware abstraction layer.
 77. The apparatus as recited in claim 1, wherein the storage resource is configured such that temporal behavior of communications does not impact a real-time computing task.
 78. The apparatus as recited in claim 1, wherein the storage resource is configured for providing software upgrades for each of a plurality of modules.
 79. The apparatus as recited in claim 78, wherein the apparatus is configured such that the software upgrades are downloaded via a communication link.
 80. The apparatus as recited in claim 1, wherein the storage resource is configured such that network efficiency is increased by reducing a number of transactions needed to access remote variables.
 81. The apparatus as recited in claim 1, wherein the storage resource is a direct-access storage resource.
 82. The apparatus as recited in claim 1, wherein the apparatus is configured so as to avoid a network layer translation of the message.
 83. The apparatus as recited in claim 1, wherein the storage resource is configured so as to allow cross-network variable sharing though vertical real-time replication of data.
 84. The apparatus as recited in claim 1, wherein the storage resource is configured to restrict information access to certain levels in a particular network.
 85. The apparatus as recited in claim 1, wherein the storage resource is configured to restrict information access to certain network levels, while allowing replication of the information to nodes.
 86. The apparatus as recited in claim 1, wherein the apparatus is configured such that multiple modes of operation are enabled in order to provide for a guaranteed deterministic behavior.
 87. The apparatus as recited in claim 1, wherein the apparatus is configured such that multiple modes of operation are enabled, wherein at least one of the modes includes a secured configuration or upgrade mode that allows changes to configuration and/or functions.
 88. The apparatus as recited in claim 1, wherein the apparatus is configured such that multiple modes of operation are enabled, wherein at least one of the modes includes a diagnostic mode.
 89. The apparatus as recited in claim 1, wherein the apparatus is configured such that a topology of a distributed computing and communication system is capable of being designed independent of a definition of individual functions that a particular network performs.
 90. The apparatus as recited in claim 1, and further comprising: a hardware abstraction layer that allows a system developer to adapt a real-time operating system and a plurality of device drivers to a specific hardware implementation of the automotive electronic control unit.
 91. The apparatus as recited in claim 90, and further comprising: middleware that has access to the real-time operating system, the device drivers, and the hardware abstraction layer.
 92. The apparatus as recited in claim 91, wherein the middleware isolates multiple application from input or output functions.
 93. The apparatus as recited in claim 92, wherein the middleware allows the multiple applications to share common variables locally.
 94. The apparatus as recited in claim 91, wherein the middleware interfaces with input or output mechanisms without utilizing the real-time operating system nor the hardware abstraction layer.
 95. The apparatus as recited in claim 91, wherein the middleware is adapted for implementing different types of control of the storage resource.
 96. The apparatus as recited in claim 95, wherein the different types of control of the storage resource include implicit control and explicit control.
 97. The apparatus as recited in claim 95, wherein the different types of control of the storage resource include a control associated with the identifying, the issuing of the storage resource request, the storing of the information, and the sharing.
 98. The apparatus as recited in claim 1, and further comprising: a data integrity watchdog that analyses stored state variables for integrity and generates events or flags if a problem occurs.
 99. The apparatus as recited in claim 1, wherein the information includes state variables that are converted before storage utilizing the storage resource.
 100. The apparatus as recited in claim 99, wherein the state variables are converted for offset compensation in connection with the state variables.
 101. The apparatus as recited in claim 1, wherein the storage resource takes a form of storage other than a buffer.
 102. An apparatus, comprising: an automotive electronic control unit including a non-transitory memory storage comprising instructions, and at least one hardware processor in hardwired communication with the memory storage, wherein the at least one hardware processor executes the instructions to: identify information associated with a message received utilizing a Controller Area Network protocol associated with a Controller Area Network; issue a storage resource request in connection with a storage resource of the automotive electronic control unit and determine whether the storage resource is available for storing the information; determine whether a threshold has been reached in association with the storage resource request; in the event the storage resource is not available and the threshold associated with the storage resource request has not been reached, issue another storage resource request in connection with the storage resource; in the event the storage resource is not available and the threshold associated with the storage resource request has been reached, send a notification; in the event the storage resource is available, store the information utilizing the storage resource; and share the information in less than one millisecond utilizing a Flexray network protocol associated with a Flexray network; wherein the automotive electronic control unit is in hardwired communication with the Controller Area Network and the Flexray network and includes: a first interface in hardwired communication with the Controller Area Network, the first interface including a first interface-related data link layer component that uses Controller Area Network-related data link layer header bits and a first interface-related network layer component that uses Controller Area Network-related network layer header bits; and a second interface in hardwired communication with the Flexray network, the second interface including a second interface-related data link layer component that uses Flexray network-related data link layer header bits and a second interface-related network layer component that uses Flexray network-related network layer header bits.
 103. The apparatus as recited in claim 102, wherein the information is also shared in less than the one millisecond utilizing, in addition to the Flexray network protocol, a Local Interconnect Network protocol associated with a Local Interconnect Network, and the automotive electronic control unit remains in hardwired communication with the Local Interconnect Network via a third interface for interfacing with the Local Interconnect Network, the third interface including a third interface-related data link layer component that uses Local Interconnect Network-related data link layer header bits.
 104. The apparatus as recited in claim 102, wherein the identifying, the issuing the another storage resource request, and the sending the notification collectively occur in less than one microsecond.
 105. The apparatus as recited in claim 102, wherein the identifying, the issuing of the storage resource request, the storing the information, and an initiation of the sharing collectively occur in less than one microsecond.
 106. The apparatus as recited in claim 102, wherein the second interface-related network layer component uses the Flexray network-related network layer header bits by adding the Flexray network-related network layer header bits to a data unit including the information, and then the second interface-related data link layer component uses the Flexray network-related data link layer header bits by adding the Flexray network-related data link layer header bits to the data unit, before communicating the data unit on a physical link of the Flexray network.
 107. The apparatus as recited in claim 106, wherein the first interface-related data link layer component uses the Controller Area Network-related data link layer header bits by removing the Controller Area Network-related data link layer header bits from another data unit, and the first interface-related network layer component uses the Controller Area Network-related network layer header bits by removing the Controller Area Network-related network layer header bits from the another data unit, where the information is extracted from the another data unit before the sharing.
 108. The apparatus as recited in claim 107, wherein a duration between the information being sent to the automotive electronic control unit and the sharing being completed by the information arriving at a destination, is less than the one millisecond.
 109. The apparatus as recited in claim 108, and further comprising: a hardware abstraction layer that allows a system developer to adapt a real-time operating system and a plurality of device drivers to a specific hardware implementation of the automotive electronic control unit.
 110. The apparatus as recited in claim 109, and further comprising: middleware that has access to the real-time operating system, the device drivers, and the hardware abstraction layer.
 111. The apparatus as recited in claim 110, wherein the middleware isolates multiple application from input or output functions.
 112. The apparatus as recited in claim 111, wherein the middleware allows the multiple applications to share common variables locally.
 113. The apparatus as recited in claim 110, wherein the middleware interfaces with input or output mechanisms without utilizing the real-time operating system nor the hardware abstraction layer.
 114. The apparatus as recited in claim 110, wherein the middleware is adapted for implementing different types of control of the storage resource.
 115. The apparatus as recited in claim 114, wherein the different types of control of the storage resource include implicit control and explicit control.
 116. The apparatus as recited in claim 114, wherein the different types of control of the storage resource include a control associated with the identifying, the issuing of the storage resource request, the storing the information, and the sharing.
 117. The apparatus as recited in claim 108, and further comprising: a data integrity watchdog that analyses stored state variables for integrity and generates events or flags if a problem occurs.
 118. The apparatus as recited in claim 108, wherein the information includes state variables that are converted before storage utilizing the storage resource.
 119. The apparatus as recited in claim 118, wherein the state variables are converted for scaling the state variables.
 120. The apparatus as recited in claim 118, wherein the state variables are converted for offset compensation in connection with the state variables.
 121. The apparatus as recited in claim 107, wherein a duration between the information being received at the automotive electronic control unit, and the sharing being completed by arriving at a destination, is less than the one millisecond.
 122. The apparatus as recited in claim 121, wherein the first interface-related data link layer component and the second interface-related data link layer component are drivers.
 123. The apparatus as recited in claim 122, wherein the first interface-related data link layer component and the second interface-related data link layer component are part of a hardware abstraction layer.
 124. The apparatus as recited in claim 123, wherein the hardware processor and the instructions are for releasing the storage resource after the storing.
 125. The apparatus as recited in claim 121, wherein the apparatus is configured such that the information is shared without multiplexing.
 126. The apparatus as recited in claim 102, where the storage resource is configured to store the information that is received utilizing the Controller Area Network protocol associated with the Controller Area Network that is a first physical network, for the purpose of sharing the information utilizing the Flexray network protocol associated with the Flexray network that is another physical network.
 127. The apparatus as recited in claim 102, wherein the storage resource takes a form of storage other than a buffer. 